
/*= Reset CSS 
============= */

.btn{display: inline-block; padding: 5px 10px; font-size: 14px; color: #fff; border: 2px solid #4d92d9; background-color: #4d92d9; text-decoration: none; transition: 0.4s;}
.btn:hover{background-color: transparent; color: #4d92d9; transition: 0.4s;}
.text-desc{position: absolute; left: 0; top: 0; background-color: #fff; height: 100%; opacity: 0; width: 100%; padding: 20px;}
/*= Reset CSS End
================= *

/* effect-1 css */
.port-1{float: left; width:31.3333%; position: relative; overflow: hidden; text-align: center; margin: 10px 1%;}
.port-1 .text-desc{opacity: 0.9; top: -100%; transition: 0.5s; color: #000;}
.port-1 img{transition: 0.5s; width: 100%;}
.port-1:hover img{transform: scale(1.2);}
.port-1.effect-3 .text-desc{top: 50%; left: 50%; width: 0; height: 0; overflow: hidden; padding: 0;}
.port-1.effect-3 .text-desc p{ line-height:60px; font-size: 18px; color: #1f86fd; text-align: center; display: block;}
.port-1.effect-3 .text-desc span{ font-size: 14px; line-height:26px; color: #666; display: block; margin-bottom: 20px;}
.port-1.effect-3:hover .text-desc{width:calc(100% - 40px); top: 0; left: 0; height: calc(100% - 40px); padding: 20px;}
/* effect-1 css end */
@media (max-width:768px){
.port-1{width:48%;}
}
